﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EFCodeFirs.Models
{
    public class ClassModel
    {
        [Key]
        public int ClassId { get; set; }
        public string ClassName { get; set; }
        public string ClassLevel { get; set; }
        public int PersonNum { get; set; }

        public int SchoolId { get; set; }

        public virtual SchoolModel SchoolModel { get; set; }
    }
}
